package demo1;

public class Text {
    public static void main(String[] args) {
        System.out.println(Account.interestRate);
        System.out.println(Account.interestBy(1000));
        Account myAccount = new Account();
        myAccount.amount = 1000000;
        myAccount.owner = "Amy";
        System.out.println(myAccount.messageWith(1000));
        System.out.println(myAccount.interestRate); // 输出计算后的利息
    }
}
